

package model

// PointFeature represents a point.
type PointFeature struct {
	// Type should always be `Feature`.
	Type       string                 `json:"type"`
	ID         string                 `json:"id"`
	BBox       []float64              `json:"bbox"`
	Geometry   PointGeometry          `json:"geometry"`
	Properties map[string]interface{} `json:"properties"`
}

// PointGeometry is the geometry of a PointFeature.
type PointGeometry struct {
	// Type should always be `Point`;
	Type        GeometryType `json:"type"`
	Coordinates []float64    `json:"coordinates"`
}
